@import "@/assets/scss/tools.scss";
@import "@/assets/scss/theme.scss";
@import "~taro-ui-vue/dist/style/components/action-sheet.scss";
$title-bg: $src-cdn + '/clock-detail-1.png';
$jion-btn-bg: $src-cdn + '/clock-detail-2-1.png';

$sign-btn-bg: $src-cdn + '/clock-detail-2.png';
$invite-btn-bg: $src-cdn + '/clock-detail-3.png';
page {
  height: 100%;
}
.clock-detail {
  min-height: 100%;
  background: linear-gradient(#fff, 30%, #fff7e0) no-repeat;
  &__clock-content,
  &__teacher-remark,
  &__other-active {
    padding: 0 30px;
  }
  &__clock-content {
    margin: 32px 0 18px;
    &--item {
      padding: 30px 0 0;
    }
  }
  &__teacher-remark {
    position: relative;
    margin-top: 76px;
    padding: 0 30px;
    &--title {
      position: absolute;
      top: -40px;
      color: #a13d0f;
      font-size: 36px;
      font-weight: bold;
      left: 50%;
      transform: translateX(-50%);
      width: 394px;
      height: 80px;
      @include normal-flex;
      @include setBgi( "$title-bg" );
    }
    &--content {
      padding-top: 36px;
      word-break: break-all;
    }
  }
  &__other-active {
    margin-top: 32px;
    margin-bottom: 80px;
    &-wrap {
      @include normal-flex(space-between);
    }
    &--info {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      .name {
        color: $text-color-primary;
        font-weight: bold;
        font-size: 32px;
        margin-bottom: 48px;
      }
      .participation {
        color: #606266;
        font-size: 24px;
        > text {
          color: #ff8000;
        }
      }
    }
    &--handle {
      width: 244px;
      height: 72px;

      @include normal-flex;
      color: #fff;
      @include setBgi($jion-btn-bg);
      font-size: 32px;
      font-weight: bold;
    }
  }
  &__share-block {
    height: 88px;
  }
  &__share {
    padding: 0 32px;
    margin: 80px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 88px;
    padding-bottom: 16px;
    @include normal-flex(space-between);
    &--btn {
      width: 300px;
      height: 88px;
      @include normal-flex;
      @include btnStyle;
      @include setBgi($sign-btn-bg);
    }
    .invite-friends {
      @include setBgi($invite-btn-bg);
    }
  }
  .afresh-clock-in {
    .at-action-sheet__item,
    .at-action-sheet__footer {
      font-size: 32px;
      color: $text-color-primary;
    }
    .item-tip {
      color: #ff8000;
      font-size: 24px;
    }
  }
}
